使用Math.floor和Math.random取随机整数
Math.random():获取0~1随机数Math.floor() method rounds a number DOWNWARDS to the nearest integer, and retu ...
Math.random():获取0~1随机数Math.floor() method rounds a number DOWNWARDS to the nearest integer, and retu ...